﻿@{
    Layout = null;
    int i = 0;
}
@model List<UcAsp.Models.Articles>
         
<div style="margin-top:5px; width:976px; padding-left:3px;">
@foreach(UcAsp.Models.Articles art in Model)
{
    <div class="art_course border">
        <div style="width:448px; margin:10px; height:210px; background-image:url(/content/image/course_bg.jpg);">
        @if (art.IsRecommend == true)
        {
            <div style="position:absolute"><div class="coursehot"><img src="/content/image/hot.png" /></div> </div>
        }
        <div style="width:200px; height:200px;float:left; ">
              @if(art.CategorieID!=33){
                <a href="/ShowMessage/@art.ID"><img src="@art.IconUrl" width="200" /></a>

              }
            else
            {
              <img src="@art.IconUrl" width="200" />
              }
        </div>
        <div style="float:left;width:230px; margin-left:8px; height:210px;"><span style="@if(art.Title.Length>9){<text>font-size:19px</text>}
                                                                                         else
                                                                                         {<text>font-size:24px</text>}; color:#fd57bb">@(new HtmlString(@art.Title))</span><br>
         <span style="color:#333333">课时:@(new HtmlString(art.Note3))<br>
         
          RMB:@(new HtmlString(art.Note2))<br>
        </span>
        <span style="color:#cdcdcd;">@art.Tag</span>
            @if (art.CategorieID != 33)
            {
          <div class="Coruse_click"><a href="/ShowMessage/@art.ID"></a></div>
            }
         </div>
        </div>

    </div>
            i++;
}
 @if (i % 2 != 0)
 { 
        <div class="art_course border">
        <img src="/content/image/nocourse.jpg" />
          </div>
    } 
    <div class="clear"></div>
</div>
